package com.lanyan.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.lanyan.system.domain.Withdraw;
import com.lanyan.system.domain.vo.WithdrawVo;

/**
 * 提现Service接口
 *
 * @author lanyan
 * @date 2024-11-26
 */
public interface IWithdrawService extends IService<Withdraw>
{
    /**
     * 查询提现
     *
     * @param withdrawId 提现主键
     * @return 提现
     */
    public Withdraw selectWithdrawByWithdrawId(Long withdrawId);

    /**
     * 查询提现列表
     *
     * @param withdraw 提现
     * @return 提现集合
     */
    public List<Withdraw> selectWithdrawList(Withdraw withdraw);

    /**
     * 查询提现Vo列表
     *
     * @param withdraw 提现
     * @return 提现集合
     */
    public List<WithdrawVo> selectWithdrawVoList(Withdraw withdraw);

    /**
     * 新增提现
     *
     * @param withdraw 提现
     * @return 结果
     */
    public boolean insertWithdraw(Withdraw withdraw);

    /**
     * 修改提现
     *
     * @param withdraw 提现
     * @return 结果
     */
    public boolean updateWithdraw(Withdraw withdraw);

    /**
     * 批量删除提现
     *
     * @param withdrawIds 需要删除的提现主键集合
     * @return 结果
     */
    public boolean deleteWithdrawByWithdrawIds(Long[] withdrawIds);

    /**
     * 删除提现信息
     *
     * @param withdrawId 提现主键
     * @return 结果
     */
    public boolean deleteWithdrawByWithdrawId(Long withdrawId);
}
